package com.jd.sunny.java.multithreading.concurrent;

import com.jd.sunny.java.Person;

import java.util.Comparator;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * @Description:测试ConcurrentSkipListSet
 * @author:sunny
 * @since:2012-12-25 11:17
 * @version:1.0.0
 */
public class ConcurrentSkipListSetTest {

    ConcurrentSkipListSet concurrentSkipListSet = new ConcurrentSkipListSet(new Comparator<Person>() {
        public int compare(Person o1, Person o2) {
            return o1.getName().compareTo(o2.getName());
        }
    });

    
    CopyOnWriteArrayList copyOnWriteArrayList = new CopyOnWriteArrayList();

}
